Clip
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Version: | 1.0.0 |
| Author: | The gotoAndPlay() Team http://www.smartfoxserver.com http://www.gotoandplay.it |
| Classpath: | com.smartfoxserver.redbox.data.Clip |
| File last modified: | Tuesday, 01 July 2008, 15:39:59 |
The Clip class is a container for a/v clip data.
Summary
Instance properties
- id : String
- The clip id.
- username : String
- The clip owner.
- properties : Object
- The properties associated with the clip.
- rtmpURL : String
- The full RMTP url of the clip.
- size : Number
- The size in bytes of the clip.
- lastModified : String
- The date in which the clip was last modified.
Instance methods
- toString : String
- Trace clip attributes (for debug purposes).
Instance properties
id
id:String
(read)
The clip id.
This id corresponds to the .flv and .data files names, without the extension.
This id corresponds to the .flv and .data files names, without the extension.
lastModified
lastModified:String
(read)
The date in which the clip was last modified.
The default date format is "dd/MM/yyyy hh:mm:ss"; it can be modified in the server-side redbox.properties file.
The default date format is "dd/MM/yyyy hh:mm:ss"; it can be modified in the server-side redbox.properties file.
properties
properties:Object
(read)
The properties associated with the clip.
This object contains all the properties retrieved from the .prop file which accompanies the .flv file; only the "username" property is excluded, as it is explicitly declared.
NOTE: the RedBox server-side extension considers valid .flv files only those which are accompanied by a .prop file, even if it's empty.
This object contains all the properties retrieved from the .prop file which accompanies the .flv file; only the "username" property is excluded, as it is explicitly declared.
NOTE: the RedBox server-side extension considers valid .flv files only those which are accompanied by a .prop file, even if it's empty.
rtmpURL
rtmpURL:String
(read)
The full RMTP url of the clip.
The RMTP url can be used with specific client-side video components like the MediaDisplay conponent.
The RMTP url can be used with specific client-side video components like the MediaDisplay conponent.
size
size:Number
(read)
The size in bytes of the clip.
username
username:String
(read)
The clip owner.
This property contains the name of the user who submitted the clip.
NOTE: only the clip owner can delete or update a clip.
This property contains the name of the user who submitted the clip.
NOTE: only the clip owner can delete or update a clip.
Instance methods
toString
function toString (
) : String
Trace clip attributes (for debug purposes).
Returns:
- A string containing the clip's attributes.